<?php
/**
 *+------------------
 * Lflow
 *+------------------
 * Copyright (c) 2023~2030 gitee.com/liu_guan_qing All rights reserved.本版权不可删除，侵权必究
 *+------------------
 * Author: Mr.April(405784684@qq.com)
 *+------------------
 */
declare (strict_types=1);

namespace lflow;

use lflow\entity\HistoryOrder;
use lflow\entity\HistoryTask;

/**
 * 任务实例完成触发接口
 * @author Mr.April
 * @since  1.0
 */
interface Completion
{
    public function complete(HistoryOrder|HistoryTask $history): void;
}